<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <beetl>include("/inc/head.html"){}</beetl>
    <title>权限管理</title>
    
    <style>
        body {
            padding-top      : 40px;
            padding-bottom   : 40px;
            background-color : #eee;
        }
        
        .form-signin {
            max-width : 330px;
            padding   : 15px;
            margin    : 0 auto;
        }
        
        .form-signin .form-signin-heading,
        .form-signin .checkbox {
            margin-bottom : 10px;
        }
        
        .form-signin .checkbox {
            font-weight : normal;
        }
        
        .form-signin .form-control {
            position           : relative;
            height             : auto;
            -webkit-box-sizing : border-box;
            -moz-box-sizing    : border-box;
            box-sizing         : border-box;
            padding            : 10px;
            font-size          : 16px;
        }
        
        .form-signin .form-control:focus {
            z-index : 2;
        }
        
        .form-signin input[type="email"] {
            margin-bottom              : -1px;
            border-bottom-right-radius : 0;
            border-bottom-left-radius  : 0;
        }
        
        .form-signin input[type="password"] {
            margin-bottom           : 10px;
            border-top-left-radius  : 0;
            border-top-right-radius : 0;
        }
    </style>
</head>
<body>
<div class="container">
    <beetl>if(isNotEmpty(errMsg)){</beetl>
    <div class="alert alert-danger" role="alert">${errMsg!}</div>
    <beetl>}</beetl>
    
    <form class="form-signin" action="${ctxPath}/shiro/login" method="post">
        <h2 class="form-signin-heading">权限管理</h2>
        <input id="loginName" name="loginName" class="form-control" placeholder="登录名称" required autofocus value="admin">
        <input type="password" id="loginPassword" name="loginPassword" class="form-control" placeholder="登录密码" required value="123456">
        <div class="checkbox">
            <label>
                <input type="checkbox" value="remember-me"> 记住我
            </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    </form>
</div>
</body>
</html>